package top.honlnk.common.constant;

@SuppressWarnings("ALL")
public class UserConstant {

    public static final Integer MAX_FILE_SIZE = 5 * 1024 * 1024;
    public static final String ACCESS_TOKEN_EXPIRED = "访问令牌已过期";

    public static final String OCR_IMAGE_TABLE = "图片表格识别";
    public static final String UPLOAD_FAIL_NO_FILE = "上传失败，请选择一个课程表图片";
    public static final String UPLOAD_FAIL_WRONG_FORMAT = "上传失败，只允许上传 jpg、png、jpeg格式的图片";
    public static final String UPLOAD_FAIL_OVER_SIZE = "上传失败，图片大小不能超过5MB";
    public static final String NAME_IS_NULL = "姓名不能为空，请输入姓名";
    public static final String INVALID_CLIENT = "无效的客户端：";
    public static final String IMAGE_FORMAT_ERROR = "图片格式错误，请重新上传";
    public static final String NO_TABLE_IN_IMAGE = "图片中不包含表格，请重新上传";
    public static final String OCR_IMAGE_FAIL = "图片识别失败，你上传的图片可能是不包含图片的，请重新上传。";
    public static final String REQUEST_FAIL = "请求失败，状态为：";
    public static final String TABLE_IS_NULL = "您的课表信息不能为空，请重新检查课表信息";
    public static final String SUBMIT_ID_LENGTH_ERROR = "提交ID长度错误，请检查提交ID是否为11位";
    public static final String NO_TARGET_TABLE_IN_IMAGE = "系统识别到你上传的图表中没有我们需要的课程表，请重新裁剪或更换图片";
    public static final String OCR_IMAGE_PARTIAL_WARN = "由于你上传的图片中包含了1个以上的表格，这可能会导致识别不正确，为确保数据正确请认真核验并修改，或者重新上传合适的图片";
    public static final String UPLOAD_TABLE_ERROR = "上传表格长度错误";

    // 以下是日志信息
    public static final String FILE_SIZE = "文件大小: {}";
    public static final String OCR_IMAGE_CONTENT = "OCR图像识别内容: {}";
    public static final String SYSTEM_AUTO_UPDATE_OCR_TOKEN = "系统自动更新了一次OCR访问令牌，更新时间：{}";
    public static final String INVALID_CLIENT_LOG = "无效的客户端: {}";
    public static final String OCR_TOKEN_EXPIRED = "访问令牌已过期，重新生成accessToken：{}";
    public static final String IMAGE_FORMAT_ERROR_LOG = "图片格式错误，请重新上传：{}";
    public static final String REQUEST_FAIL_LOG = "请求失败，状态为： {}";
    public static final String RESPONSE_BODY = "响应内容：{}";
    public static final String JSON_PARSE_ERROR = "JSON解析错误";
    public static final String SEND_REQUEST_FAIL = "向服务端发送请求失败";
    public static final String RESPONSE_BODY_IS_NULL = "从JSON对象提取body时出错：{}";

}
